â items âîçíèêàåò îøèáêà:
ïðîáëåìà ïîõîæå â api/classes/class.citem.php:
Code:
ociexecute() [<a href='function.ociexecute'>function.ociexecute</a>]: ORA-00918: column ambiguously defined[/var/www/zabbix/php/include/db.inc.php:484] SQL error [ORA-00918: column ambiguously defined] in [select * from (SELECT i.*,i.hostid,h.host FROM items i,hosts h WHERE round(i.itemid/100000000000000) in (0) AND i.type<>9 AND (i.hostid IN (10017)) AND h.hostid=i.hostid AND UPPER(h.host)='ZABBIX SERVER') where rownum between 0 and 1001] ocierror() expects parameter 1 to be resource, boolean given[/var/www/zabbix/php/include/db.inc.php:405] SQL error [] in [] ocifetchinto() expects parameter 1 to be resource, boolean given[/var/www/zabbix/php/include/db.inc.php:534]
Code:
if(!is_null($options['extendoutput'])){
$sql_parts['select']['hostid'] = 'i.hostid';
}

Comment